package com.lgh.springframework.test.bean;


/**
 * ******************************************************
 *
 * @author liugh9
 * @version 1.0
 * @classname UserService
 * @description
 * @date 2023/02/21 21:30
 * <p>
 * ******************************************************
 */
public class UserService {



    private String userId;
    private String company;
    private String location;
    private IUserDao userDao;

    public String queryUserInfo() {
        return userDao.queryUserName(userId) + ", 公司：" + company + ", 地点" + location;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public IUserDao getUserDao() {
        return userDao;
    }

    public void setUserDao(IUserDao userDao) {
        this.userDao = userDao;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

}
